package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.CorpApplication;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CorpApplicationMapper {
    int deleteById(@Param("id") Long id);

    int insert(CorpApplication record);

    int insertSelective(CorpApplication record);

    CorpApplication selectById(Long id);

    CorpApplication selectByCorpId(@Param("corpId") String corpId);

    CorpApplication selectByCorpName(@Param("corpName") String corpName);

    CorpApplication selectByCorpNameSimple(@Param("corpNameSimple") String corpNameSimple);

    CorpApplication selectByAuthCorpId(@Param("authCorpId") String authCorpId);

    int updateByIdSelective(CorpApplication record);

    int updateById(CorpApplication record);
}